package com.telit.firecommand.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FireTaskListVo {

    private String fireId;

    private Long taskId;

    private Long taskArrangeId;

    private String taskTitle;

    @ApiModelProperty(value = "任务下发时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date releaseTime;

    @ApiModelProperty(value = "反馈时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date feedbackTime;

    @ApiModelProperty(value = "0非，1是")
    private String isFire;

    //执行人ID
    @ApiModelProperty("执行人ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long personId;

    @ApiModelProperty("执行人姓名")
    private String personName;

    private String feedbackContent;

    @ApiModelProperty(value = "反馈图片列表")
    private List<String> imgList;

    @ApiModelProperty(value = "反馈视频列表")
    private List<String> videoList;

    @ApiModelProperty(value = "反馈音频列表")
    private List<String> audioList;
}
